
   <!-- 当前位置 -->
<div id="urHere">DouPHP 管理中心<b>></b><strong>网站管理员</strong> </div>   <div id="manager" class="mainBox" style="height:auto!important;height:550px;min-height:550px;">
    <h3><a href="{:U('index')}" class="actionBtn">返回列表</a>修改网站管理员</h3>
    <form action="{:U('modAdmin', array('id'=>$data['id']))}" method="post">
     <input type="hidden" name="id" value="{$data['id']}">
     <table width="100%" border="0" cellpadding="8" cellspacing="0" class="tableBasic">
      <tr>
       <td width="100" align="right">管理员账号</td>
       <td>
        <input type="text" name="admin_id" size="40" value="{$data['admin_id']}" class="inpMain" />
        <span class="error"> {$errData['admin_id']}</span>
       </td>
      </tr>

      <tr>
       <td align="right">密码</td>
       <td>
        <input type="password" name="admin_pwd" size="40" value="" class="inpMain" />
        <span class="error"> {$errData['admin_pwd']}</span>
       </td>
      </tr>

      <tr>
       <td align="right">确认密码</td>
       <td>
        <input type="password" name="password_confirm" size="40" class="inpMain" />
        <span class="error"> {$errData['password_confirm']}</span>
       </td>
      </tr>

      <tr>
       <td width="100" align="right">管理员姓名</td>
       <td>
        <input type="text" name="real_name" size="40" value="{$data['real_name']}" class="inpMain" />
        <span class="error"> {$errData['real_name']}</span>
       </td>
      </tr>

      <tr>
       <td align="right">管理员角色</td>
       <td>
        <select name="role_id">
         <option value="">--管理员角色--</option>
         <option value="2" <if condition="$data['role_id'] eq 2"> selected="selected" </if>>副管理员</option>
         <option value="3" <if condition="$data['role_id'] eq 3"> selected="selected" </if>>员工</option>
        </select>
        <span class="error"> {$errData['role_id']}</span>
       </td>
      </tr>

       <td></td>
       <td>
        <input type="hidden" name="token" value="5a58b748" />
        <input type="submit" name="submit" class="btn" value="提交" />
       </td>
      </tr>
     </table>
    </form>
</div>
